package com.sky.orangehireserver.modules.admin.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "超级管理员登录请求DTO")
public class AdminLoginDTO {
    /**
     * 邮箱/登录账号
     */
    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    @Schema(description = "邮箱/登录账号", example = "zhangsan@example.com")
    private String email;

    /**
     * 登录密码
     */
    @NotBlank(message = "密码不能为空")
    @Schema(description = "登录密码", example = "123456a")
    private String password;
}
